//引入mongoose
let mongoose = require('mongoose');
//创建目标集合模型对象
let studentsSchema = mongoose.Schema({
    phone: String, 
    name: String, 
    gender: String,
    avatar: String, 
    password: String
});
//建立目标模型对象与目标集合的关联关系
mongoose.model('studentsModel', studentsSchema, 'students');